package com.itlong.cloud.operate.service;

import com.itlong.cloud.POJO.DTO.operate.OperateCheckAccountByPageDTO;
import com.itlong.cloud.POJO.PO.WechatCheckAccountOrderDiffPO;
import com.itlong.cloud.POJO.VO.operate.OperateCheckAccountGetPageVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * <desc>
 * 运营-财务展示对账服务接口.
 * </desc>
 *
 * @createDate 2018/9/19
 */
public interface ICheckAccountService {

    /**
     * <desc>
     *      根据条件分页查询自动出账的出入列表
     * <desc/>
     * @param   checkAccountByPageDTO 查询条件
     * @return page
     * @author Juguang.S
     * @createDate 2018/9/19
     */
    Page<OperateCheckAccountGetPageVO> getCheckDiffInfoByPage(OperateCheckAccountByPageDTO checkAccountByPageDTO) throws Exception;

    /**
     * <desc>
     *      根据ID查询其备注和订单状态
     * <desc/>
     *
     * @param orderDiffId
     * @return
     * @author Juguang.S
     * @createDate 2018-09-19
     */
    Map<String,Object> getCheckInfo(String orderDiffId);

    /**
     * <desc>
     *      根据ID修改其备注和订单状态
     * <desc/>
     *
     * @param orderDiffId id
     * @param remark 备注
     * @param diffOrderStatus 订单状态
     * @return
     * @author Juguang.S
     * @createDate 2018-09-19
     */
    void updateStatus(String orderDiffId,String diffOrderStatus,String remark,String myUserName);

    /**
     * <desc>
     *      根据条件查询出所有出入信息
     * <desc/>
     *
     * @param checkAccountByPageDTO 条件
     * @return
     * @author Juguang.S
     * @createDate 2018-09-19
     */
    List<OperateCheckAccountGetPageVO> getDiffInfo(OperateCheckAccountByPageDTO checkAccountByPageDTO) throws Exception;
}
